package difactroy

import (
	"gitee.com/ichub/goconfig/common/base/baseiface"
	"gitee.com/ichub/goconfig/common/basedi"
)

const single_nameFileInfoDto = "FileInfoDto"

// init
// register
// load
func init() {
	registerBeanFileInfoDto()
}

// register FileInfoDto
func registerBeanFileInfoDto() {
	basedi.RegisterLoadBean(single_nameFileInfoDto, LoadFileInfoDto)
}

func FindBeanFileInfoDto() *FileInfoDto {
	return basedi.FindBean(single_nameFileInfoDto).(*FileInfoDto)
}

func LoadFileInfoDto() baseiface.ISingleton {
	return NewFileInfoDto()
}
